package com.tao.base;

import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import org.hibernate.mapping.IdGenerator;

@MappedSuperclass
public class BaseEntity extends IdGenerator implements Serializable{
	

	private static final long serialVersionUID = 1L;

	@Column(name = "CREATED_DT")
	protected Timestamp createdDt;
	
	@Column(name = "LAST_UPDATED_DT")
	protected Timestamp lastUpdatedDt;

	public Timestamp getCreatedDt() {
		return createdDt;
	}

	public void setCreatedDt(Timestamp createdDt) {
		this.createdDt = createdDt;
	}

	public Timestamp getLastUpdatedDt() {
		return lastUpdatedDt;
	}

	public void setLastUpdatedDt(Timestamp lastUpdatedDt) {
		this.lastUpdatedDt = lastUpdatedDt;
	}

}
